package com.hkccommunity.dto;

import com.hkccommunity.entity.AnswerChild;
import com.hkccommunity.entity.User;

public class AnswerChildDto extends AnswerChild {

    //发送方信息
    private User sender;

    //接收方信息
    private User receiver;

    public AnswerChildDto() {
    }

    public AnswerChildDto(User sender, User receiver) {
        this.sender = sender;
        this.receiver = receiver;
    }

    public AnswerChildDto(Long answerParentId, String replyContent, Long acceptUser, Long createUser, String createTime, Long like, Integer delete, User sender, User receiver) {
        super(answerParentId, replyContent, acceptUser, createUser, createTime, like, delete);
        this.sender = sender;
        this.receiver = receiver;
    }

    public User getSender() {
        return sender;
    }

    public void setSender(User sender) {
        this.sender = sender;
    }

    public User getReceiver() {
        return receiver;
    }

    public void setReceiver(User receiver) {
        this.receiver = receiver;
    }
}
